package com.mezz.bones.framework.core.listen;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author: zhuang
 * @Date: 2024/4/9 15:21
 * @Description: TODO
 * @Version: 1.0
 **/
@Component
@Slf4j
public class DemoListen {

    /**
     @TransactionalEventListener(phase = TransactionPhase.AFTER_COMMIT) 事务提交后才执行 如果当前没有事务 则此监听器不会执行
     * @param event
     */
//    @Async("handleAsync")
    public void onApplicationEvent(Object event) {

    }
}
